<%--
  Created by IntelliJ IDEA.
  User: A
  Date: 2022/1/2
  Time: 21:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>
        有头有脚的网页
    </title>
</head>
<body>
<%--<%@ include会将两个页面合二为一--%>
<%@ include file="common/header.jsp"%>

<h2>页面主体</h2>
<%@ include file="common/footer.jsp"%>
<hr>

<%--jsp标签
jsp:include：拼接页面，本质还是三个
--%>
<jsp:include page="/common/header.jsp"></jsp:include>

<h2>页面主体</h2>
<jsp:include page="/common/footer.jsp"></jsp:include>
</body>
</html>
